package com.yejhxt.model;

import java.util.Date;
import java.util.List;

public class device {
    private Long deviceid;

    private Long roleid;

    private String devicecode;

    private String devicename;

    private String holder;

    private Date createtime;

    private Date modifytime;
 private   message message;
 
 private   sos sos;
 
 private List<message> messages;
    
    public message getMessage() {
	return message;
}

public void setMessage(message message) {
	this.message = message;
}

public sos getSos() {
	return sos;
}

public void setSos(sos sos) {
	this.sos = sos;
}

	public Long getDeviceid() {
        return deviceid;
    }

    public void setDeviceid(Long deviceid) {
        this.deviceid = deviceid;
    }

    public Long getRoleid() {
        return roleid;
    }

    public void setRoleid(Long roleid) {
        this.roleid = roleid;
    }

    public String getDevicecode() {
        return devicecode;
    }

    public void setDevicecode(String devicecode) {
        this.devicecode = devicecode == null ? null : devicecode.trim();
    }

    public String getDevicename() {
        return devicename;
    }

    public void setDevicename(String devicename) {
        this.devicename = devicename == null ? null : devicename.trim();
    }

    public String getHolder() {
        return holder;
    }

    public void setHolder(String holder) {
        this.holder = holder == null ? null : holder.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getModifytime() {
        return modifytime;
    }

    public void setModifytime(Date modifytime) {
        this.modifytime = modifytime;
    }
}